<!DOCTYPE html>
<html>
<#include "../../head.html">
<body class="full">
<div class="mc">
	<div class="mc-l">
		<!--左侧导航---{-->
		<div id="navPanelContainer">
			<div class="system-logo cd"></div>
			<!--管理员信息---{-->
			<#include "../../adminInfo.html">
				<!--管理员信息---}-->
				<div class="nav-wrap"><#include "../left.html"></div>
		</div> <!--左侧导航---}-->
	</div>
	<div class="mc-m">
		<div class="navToggle"></div>
	</div>
	<div class="mc-r">
		<!--顶部导航---{--> <#include "../../topNav.html"> <!--顶部导航---}--> <!--面包屑导航---{-->
		<#assign moduleName="修改广告图"> <#include "../banner.html"> <!--面包屑导航---}-->

			<!--工具栏--{-->
			<div id="toolbar" class="clearfix">
				<div class="toolbor-module">
					<a class="input-button" href="#" onclick="location.href='franchiseeAd.html'">返回</a>
					<!--  <a class="input-button" href="addSite.html" style="line-height:24px;">添加子栏目</a> -->
				</div>
			</div> <!--工具栏--}-->

			<div id="main" class="w750 clearfix">

				<form name="form1" method="post"
					  action="/admin/file/modifyFranchiseeAd.html"
					  enctype="multipart/form-data">
					<div class="valBox">
						<div class="top">
							<strong>修改广告图</strong>
						</div>
						<div class="clearfix">

							<#if file.fileType.code=='activityTopShow'> <input
									name="activityTopShow" value="1" type="hidden">
								<!-- 活动图 app浮动图 -->
								<ul class="title-v edit">
									<li>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <#if
											activityAddr??&&activityAddr=='30'> <label><input
											name="homeshow" value="1" type="checkbox" checked="checked">在app首页显示</label>
										<label><input name="listshow" type="checkbox"
													  value="2" checked="checked">在app理财产品页显示</label> <#elseif
												activityAddr??&&activityAddr=='31'> <label><input
												name="homeshow" value="1" type="checkbox" checked="checked">在app首页显示</label>
											<label><input name="listshow" type="checkbox"
														  value="2">在app理财产品页显示</label> <#elseif
													activityAddr??&&activityAddr=='32'> <label><input
													name="homeshow" value="1" type="checkbox">在app首页显示</label> <label><input
													name="listshow" type="checkbox" value="2" checked="checked">在app理财产品页显示</label>
												<#else> <label><input name="homeshow" value="1"
																	  type="checkbox">在app首页显示</label> <label><input
														name="listshow" type="checkbox" value="2">在app理财产品页显示</label>
									</#if>

									</li>
									<li>
										<div class="title">上传广告图：</div>
										<div class="v">
											<input type="file" name="adPic" value="" size="20"> <font
												color="red">（注：不要随意上传任何大小图片，建议图片向专业人员要取）</font>
										</div>
									</li>
									<li>
										<div class="title">活动名称：</div>
										<div class="v">
											<input type="text" name="fileName" class="input_border"
												   value="${file.fileName!''}" size="30" />
										</div>
									</li>
									<li>
										<div class="title">活动url：</div>
										<div class="v">
											<input type="text" name="locationUrl" class="input_border"
												   value="${file.locationUrl!''}" size="30" />
										</div>
									</li>

									<li>
										<div class="title">简介：</div>
										<div class="v">
											<input type="text" name="intro" class="input_border"
												   value="${file.intro!''}" size="30" /> <font color="red"></font>
										</div>
									</li>
									<li>
										<div class="title">描述：</div>
										<div class="v">
											<input type="text" name="duce" class="input_border"
												   value="${file.duce!''}" size="30" /> <font color="red"></font>
										</div>
									</li>

								</ul>
								<!-- 活动图 app浮动图 end-->


								<#else>
									<ul class="title-v edit">
										<li>
											<div class="title">资产管理公司：</div>
											<div class="v">
												<span>${file.franchisee.name!''}</span>
											</div>
										</li>
										<li>
											<div class="title">颜色：</div>
											<div class="v">
												<input type="text" name="color" class="input_border"
													   value="${file.color!''}" size="30" /> <font color="red">（注：十六进制的颜色值，可不填）</font>
											</div>
										</li>
										<li>
											<div class="title">文件名：</div>
											<div class="v">
												<input type="text" name="fileName" class="input_border"
													   value="${file.fileName!''}" size="30" />
											</div>
										</li> <#if file.subtype??>
										<li>
											<div class="title">文件详细区分：</div>
											<div class="v">
												<select name="subtype"> <#if file.subtype=='1'>
													<option value="1">新手</option>
													<option value="2">非新手</option> <#elseif file.subtype=='2'>
													<option value="2">非新手</option>
													<option value="1">新手</option> <#elseif file.subtype=='11'>
													<option value="11">大图</option> <#elseif file.subtype=='12'>
													<option value="12">小图</option> </#if>
												</select> <font color="red">（注：横条显示具体用户分类，新手就是新手可以看到的）</font>
											</div>
										</li> </#if>

										<li>
											<div class="title">跳转地址：</div>
											<div class="v">
												<input type="text" name="locationUrl" class="input_border"
													   value="${file.locationUrl!''}" size="30" />
											</div>
										</li>
										<li>
											<div class="title">排序：</div>
											<div class="v">
												<input type="text" name="sort" class="input_border"
													   value="${file.sort?c}" size="30" />
											</div>
										</li>
										<li>
											<div class="title">上传广告图：</div>
											<div class="v">
												<input type="file" name="adPic" value="" size="20"> <font
													color="red">（注：不要随意上传任何大小图片，建议图片向专业人员要取）</font>
											</div>
										</li>
										<li>
											<div class="title">简介：</div>
											<div class="v">
												<input type="text" name="intro" class="input_border"
													   value="${file.intro!''}" size="30" /> <font color="red"></font>
											</div>
										</li>
										<li>
											<div class="title">描述：</div>
											<div class="v">
												<input type="text" name="duce" class="input_border"
													   value="${file.duce!''}" size="30" /> <font color="red"></font>
											</div>
										</li>
										<li>
											<div class="title">设置倒计时间(s)：</div>
											<div class="v">
												<input class="input_border" name="countdownTime" value="${file.countdownTime!''}"
													   size=30>
											</div>
										</li>
										<li>
											<div class="title">活动开始时间：</div>
											<div class="v">

												<input class="_search-value" name="addStartDate0"
													   id="addStartDate0" value="${file.startTime!''}"
													   onclick="change_picktime('yyyy-MM-dd HH:mm:ss')" /> 到 <input
													class="_search-value" name="addEndDate0" id="addEndDate0"
													value="${file.endTime!''}"
													onclick="change_picktime('yyyy-MM-dd HH:mm:ss')" />
											</div>

										</li>
									</ul>
							</#if>
						</div>
						<div id="bottomToolbar" class="clearfix">
							<input type="hidden" name="actionType" value="modify" />
							<input type="hidden" name="id" value="${file.id}">
							<input class="input-button" type="submit" name="Submit" value="提交" style="margin-left: 185px;" />
							<input class="input-button" type="reset" name="reset" value="重置" />
						</div>
					</div>


				</form>
			</div>
	</div>
</div>
<div class="mc-b">
	<#include "../../foot.html">
</div>
	<div class="msgClass">${rsmsg!""}</div>
<#include "../../jsPage.html">
</body>
</html>